// 房屋 - 导出 
export function HouseExportExcel (e) {
  let params = `?&page=${e.page}&limit=${e.limit}`
  return `${process.env.VUE_APP_BASE_API}/assets/house/exportExcel${params}`
}

//房屋 - 导入
export function HouseImportExcel (e) {
  return `${process.env.VUE_APP_BASE_API}/assets/house/importExcel`
}

// 客户 - 导出 
export function customerExportExcel (e) {
  let params = `?&page=${e.page}&limit=${e.limit}`
  return `${process.env.VUE_APP_BASE_API}/assets/customer/exportExcel${params}`
}

//客户 - 导入
export function customerImportExcel (e) {
  return `${process.env.VUE_APP_BASE_API}/assets/customer/importExcel`
}

// 合同 - 导出 
export function contractExportExcel (e) {
  let params = `?&page=${e.page}&limit=${e.limit}`
  return `${process.env.VUE_APP_BASE_API}/assets/contract/exportExcel${params}`
}


// 下载模板文件 
export function downloadMock (e) {
  return `${process.env.VUE_APP_DOWNLOAD}/dw/${e}`
}



// const api = {
  // Login: '/auth/login',
  // Logout: '/auth/logout',
  // ForgePassword: '/auth/forge-password',
  // Register: '/auth/register',
  // twoStepCode: '/auth/2step-code',
  // SendSms: '/account/sms',
  // SendSmsErr: '/account/sms_err',
  // // get my info
  // UserInfo: '/user/info',
  // // system
  // user: '/system/user',
  // role: '/system/role',
  // permission: '/system/menu',
  // dept: '/system/dept',
  // dictType: '/system/dict/type',
  // dictData: '/system/dict/data',
  // dist: '/system/districts',
  // config: '/system/config',
  // oss: '/system/oss',
  // donate: '/system/donate',
  // models: '/act/models',
  // prof: '/act/prof',
  // process: '/act/process',
  // processIns: '/act/process/ins',
  // business: 'act/business',
  // leave: 'act/leave',
  // purchase: 'act/purchase',
  // node: 'act/node',
  // task: 'act/task'
// }
// export default api
